package com.meila.cms.dao;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.meila.cms.entity.MypartsLib;
import com.meila.cms.model.MyPartsModel;
import com.meila.cms.model.PartsModel;

public interface MypartsLibMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MypartsLib record);

    int insertSelective(MypartsLib record);

    MypartsLib selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MypartsLib record);

    int updateByPrimaryKey(MypartsLib record);
    
    List findMyParts(MyPartsModel myPartsModel,PageBounds pageBounds);
    
    int findMyPartsCount(MyPartsModel myPartsModel,PageBounds pageBounds);
    
    List selectSelective(MypartsLib record);
    
    int selectByDesignid(Integer designid);
    
    MyPartsModel selectById(Integer id);
    
}